<template>
  <div class="first">
    <img :src="item.icon" alt="" />
    <div class="title">{{ item.title }}</div>
    <div class="desc-box">
      <div class="desc" v-html="item.desc"></div>
      <div class="desc" v-if="item.desc1">{{ item.desc1 }}</div>
      <div class="desc" v-if="item.desc2">{{ item.desc2 }}</div>
    </div>
  </div>
</template>

<script setup>
import { reactive, defineProps } from "vue";

const props = defineProps({
  item: {
    type: Object,
    default: () => {},
  },
});
</script>

<style lang="less">
.first {
  background-color: #fff;
  width: 280px;
  height: 230px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 2px;
  position: relative;
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  .title {
    font-family: PingFangSC-Medium;
    font-size: 16px;
    color: rgb(51, 51, 51);
    letter-spacing: 0px;
    line-height: 50px;
  }
  .desc-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    .desc {
      line-height: 20px;
    }
  }

  img {
    width: 70px;
    height: 70px;
    margin-top: 35px;
    margin-bottom: 10px;
  }
}
</style>
